﻿/*公用样式*/
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

html {
}

body {
    width: 100%;
    font: 14px/2 "Microsoft Yahei","SimSun",Verdana, Arial, Helvetica, sans-serif;
    position: relative;
    background: #f6f6f6;
}

* {
    margin: 0;
    padding: 0;
}

img {
    border: none;
}

.f-l {
    float: left;
}

.f-r {
    float: right;
}

input {
    color: #565656;
    font-size: 12px;
    border: 1px solid #ccc;
    outline: none;
}

input, img {
    vertical-align: middle;
}

ul, li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.pointer {
    cursor: pointer
}

.text-center {
    text-align: center;
}

.c-b:after {
    display: block;
    content: "";
    clear: both;
}

.hide {
    display: none !important
}

/*编辑器样式重载*/
.edui-editor, .edui1_iframeholder {
    max-width: 100%;
}

.edui-editor-iframeholder.edui-default {
    max-width: 100%;
}
/*文本样式*/
.text-center {
    text-align: center
}

.text-left {
    text-align: left
}

.text-success {
    color: #009688
}

.text-wrong {
    color: #D43F3A
}

.lg-inline-block {
    display: inline-block;
    margin: 0 3px;
}
/*样式重载,表格操作按钮图标居中*/
/*整体框架重载（基于layui）*/
.layui-tab,
.layui-tab-content,
.layui-tab-item {
    height: 100%;
}

.lg-table-auto {
    width: auto !important;
}

.lg-table-black {
}

    .lg-table-black thead th {
        border: 1px solid #ccc;
        background: #ddd;
    }

    .lg-table-black td {
        border: 1px solid #ccc;
    }

.layui-table-col-special .layui-btn-xs {
    line-height: 20px
}

.layui-table-col-special .layui-btn + .layui-btn {
    margin-left: 3px
}

.lg-table-tools .layui-btn-xs {
    line-height: 20px
}

.layui-form .layui-form-label {
    position: relative;
}

    .layui-form .layui-form-label i {
        color: #f00;
        position: absolute;
        top: 10px;
        left: 15px;
        font-size: 13px;
    }

.layui-upload .viewImg img {
    max-width: 196px;
}

.layui-upload .layui-input-block {
    border: 1px solid #eee;
    padding: 10px;
    box-sizing: border-box;
}

.layui-card-body:after {
    display: block;
    content: "";
    clear: both;
}

.layui-card-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: calc(100vh - 100px);
    background-color: #666;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
}

.layui-card-right {
    margin: 0 0 0 200px;
}

.layui-form-item .layui-input-inline {
    width: auto;
}

.layui-form-pane .layui-form-radio, .layui-form-pane .layui-form-switch {
    margin-right: 10px;
}

/*主体样式控制*/
.wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #F9FAFC;
}

.headWrap {
    height: 50px;
    width: 100%;
    background: #3a3a3a;
    z-index: 999;
}

.bodyWrap {
    display: flex;
    flex: 1;
    width: 100%;
    overflow: auto;
    background: #F9FAFC;
    transition: all 0.2s;
}

.body_left {
    position: relative;
    z-index: 999;
    display: flex;
    transition: all 0.2s;
}

.body_right {
    flex: 1;
    padding: 0 15px;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    transition: all 0.2s;
    position: relative;
}

.mainBody {
}

.floatBody {
    display: none;
}

/*尾部*/
.footWrap {
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
    background: #ebebeb;
}
/*结束*/

.headWrap .logo {
    float: left;
    height: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
}

    .headWrap .logo img {
        height: 100%;
        width: auto;
    }

.headWrap .user_center {
    float: right;
    margin-right: 10px;
}

    .headWrap .user_center ul {
    }

        .headWrap .user_center ul li {
            position: relative;
            padding-bottom: 10px;
        }

            .headWrap .user_center ul li > a.fa {
                display: block;
                padding: 0 10px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                background: #3a3a3a;
                color: #fff;
                position: relative;
                z-index: 2;
            }

                .headWrap .user_center ul li > a.fa:before {
                    float: left;
                    margin-right: 10px;
                    font-size: 2em;
                }

            .headWrap .user_center ul li dl {
                display: none;
                opacity: 0;
                position: absolute;
                top: 60px;
                right: 0;
                padding: 5px 0;
                width: 100%;
                min-width: 100px;
                box-sizing: border-box;
                background: #fff;
                border-radius: 3px;
                border: 1px solid #ccc;
                box-shadow: 0 1px 3px 0 #ccc;
            }

                .headWrap .user_center ul li dl dd {
                    font-size: 14px;
                    text-align: center;
                }

                    .headWrap .user_center ul li dl dd a {
                        display: block;
                        padding: 3px 0;
                        color: #666;
                        transition: background 0.2s;
                    }

                        .headWrap .user_center ul li dl dd a:hover {
                            background: rgba(0,0,0,0.05);
                            color: #000;
                        }

            .headWrap .user_center ul li:hover dl {
                display: block;
                animation: fadeInUp 0.3s forwards;
            }


.nav {
    width: 45px;
    height: 100%;
    background: #494949;
    transition: all 0.2s;
    z-index: 2;
}

    .nav ul {
        display: flex;
        flex-direction: column;
    }

        .nav ul li {
            position: relative;
            height: 45px;
            line-height: 45px;
            text-align: center;
            box-sizing: border-box;
            transition: background 0.2s;
        }

            .nav ul li:after {
                display: block;
                clear: both;
                content: "";
            }

            .nav ul li a {
                display: block;
                width: 35px;
                height: 35px;
                margin: 5px;
                line-height: 35px;
                color: #fff;
                font-size: 16px;
                border-radius: 5px;
                position: relative;
            }

                .nav ul li a span {
                    display: none;
                    position: absolute;
                    top: 0;
                    left: 45px;
                    z-index: 2;
                    background: rgba(0,0,0,0.8);
                    border-radius: 5px;
                    color: #fff;
                    font-size: 14px;
                    width: 100px;
                    height: 35px;
                    line-height: 35px;
                }

                    .nav ul li a span:before {
                        display: block;
                        content: "";
                        width: 0;
                        height: 0;
                        border-top: 5px solid transparent;
                        border-right: 5px solid rgba(0,0,0,0.8);
                        border-bottom: 5px solid transparent;
                        position: absolute;
                        top: 12.5px;
                        left: -5px;
                    }

                .nav ul li a:hover span {
                    display: block;
                }

                .nav ul li a:hover {
                    background: rgba(0,0,0,0.2)
                }

    .nav:hover {
    }

.sub-nav {
    float: left;
    min-width: 140px;
    height: 100%;
    box-sizing: border-box;
    background: #fff;
}

    .sub-nav span.currentMenu {
        display: block;
        font-size: 16px;
        height: 40px;
        line-height: 40px;
        padding-right: 40px;
    }

        .sub-nav span.currentMenu i {
            width: 40px;
        }

    .sub-nav ul {
    }

        .sub-nav ul li {
            padding-left: 40px;
            height: 35px;
            line-height: 35px;
            position: relative;
        }

            .sub-nav ul li:before {
                display: none;
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 4px;
                height: 100%;
                background: #5FB878;
            }

            .sub-nav ul li a {
                display: block;
                color: #666;
                font-size: 14px;
            }

            .sub-nav ul li:hover {
                background: #f0fffe;
            }

                .sub-nav ul li:hover:before {
                    display: block;
                }

            .sub-nav ul li a:hover, .sub-nav ul li.act a {
                color: #23b365
            }




/*右侧大板块*/
.lg-card {
    margin-bottom: 15px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
}

.lg-card-head {
    position: relative;
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
    border-bottom: 1px solid #f6f6f6;
    color: #333;
    border-radius: 2px 2px 0 0;
    font-size: 14px;
}

.lg-card-body {
    position: relative;
    padding: 10px 15px;
    line-height: 24px;
}
/* 自定义表单样式*/
.lg-search {
    background: none;
}

.lg-search-item {
    margin: 5px;
    display: inline-block;
}

    .lg-search-item:after {
        clear: both;
        content: "";
        display: block
    }

.ts-label {
    float: left;
    line-height: 38px;
    display: inline-block;
    padding: 0 10px;
    width: auto;
}


/* 自定义表单样式*/

.LgTable {
    width: 100%;
    border: 1px solid #eee;
    border-collapse: collapse;
    font-size: 14px;
    color: #595959;
    margin-top: 15px;
}

    .LgTable tr {
    }

    .LgTable th {
        padding: 5px 10px;
        font-weight: normal;
        background: #fafafa;
    }

    .LgTable td {
        padding: 5px 10px;
        border: 1px solid #eee;
        text-align: center;
        overflow: hidden;
    }

        .LgTable td a {
            margin: 0 3px;
            display: inline-block;
        }

        .LgTable td input {
            border: 1px solid #f0f0f0;
            outline: none;
            width: 95%;
            padding: 5px 0;
            text-align: center;
        }

            .LgTable td input:focus {
                border: 1px solid green;
            }

        .LgTable td select {
            border: 1px solid #f0f0f0;
            padding: 5px 0;
            outline: none;
            display: block;
        }

            .LgTable td select:focus {
                border: 1px solid green;
            }

            .LgTable td input.reg-error, .LgTable td select.reg-error {
                border: 1px solid #f00;
            }

.LgTable-NoData {
    line-height: 26px;
    padding: 15px;
    text-align: center;
    color: #999;
    border: 1px solid #f0f0f0;
    border-top: 0;
}


.lg_toolbar {
    cursor: pointer
}

/*分页*/
.PagerTools {
    height: 26px;
    padding: 7px;
}

    .PagerTools span, .PagerTools a {
        display: inline-block;
        padding: 0 12px;
        height: 26px;
        line-height: 26px;
        vertical-align: middle;
        font-size: 12px;
        color: #333;
        border-radius: 3px;
        margin: 0 -1px 5px 0;
    }

        .PagerTools span.fa, .PagerTools a.fa {
            font-size: 1.5em;
            color: #575757
        }

        .PagerTools span.act, .PagerTools a.act {
            background-color: #009688;
            color: #fff;
        }

    .PagerTools .lgpager-jump input {
        width: 40px;
        height: 26px;
        line-height: 26px;
        margin: 0 10px;
        padding: 0 3px;
        text-align: center;
        border-radius: 2px;
        vertical-align: top;
        background-color: #fff;
        box-sizing: border-box;
        border: 1px solid #ccc;
    }

    .PagerTools .lgpager-jump button {
        height: 26px;
        line-height: 26px;
        padding: 0 10px;
        text-align: center;
        border-radius: 2px;
        vertical-align: top;
        background-color: #fff;
        box-sizing: border-box;
        border: 1px solid #ccc;
    }

    .PagerTools .lgpager-count {
        margin-right: 10px;
    }

    .PagerTools .lgpager-limit {
        height: 26px;
        padding: 0;
    }

        .PagerTools .lgpager-limit select {
            height: 100%;
            border-radius: 2px;
            border: 1px solid #ccc;
        }

    .PagerTools a:hover {
        color: #009688;
    }

    .PagerTools .lgpager-jump label {
        float: left;
        line-height: 26px;
    }
/*文本样式*/
.text-center {
    text-align: center
}


/*数据列表按钮工具条*/
.lg-btn-tools {
    margin-bottom: 10px;
}
/*数据列表*/
.lg-form-box {
}


/*自定义表格头部按钮*/
.lg-table-tool {
    margin: 10px 0 -10px 0;
    background: #FAFAFA;
    border: 1px solid #eee;
    border-bottom: 0;
    padding: 10px 10px 0 10px;
}

.lg-table-body {
    width: 100%;
    margin: 10px 0;
    overflow-x: auto;
}



/*仿表格*/
.lg-table {
    border: 1px solid #eee;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #595959;
}
.lg-table-tools {
    padding: 10px 0;
}
.lg-table thead {
    width: 100%;
}

    .lg-table tr {
        background: #fff;
    }

    .lg-table .lg-table-check {
        width: 48px;
        text-align: center;
    }

        .lg-table .lg-table-check .layui-form-checkbox[lay-skin=primary] {
            padding-left: 0;
        }

            .lg-table .lg-table-check .layui-form-checkbox[lay-skin=primary] i {
                width: 18px;
                height: 18px;
            }

    .lg-table th {
        height: 38px;
        border: 1px solid #eee;
        padding: 5px 10px;
        font-weight: normal;
        background: #fafafa;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .lg-table td {
        height: 38px;
        max-width: 200px;
        padding: 5px 10px;
        border: 1px solid #eee;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

       /* .lg-table td a {
            margin: 0 3px;
            display: inline-block;
        }*/

        .lg-table td input[type=text], .lg-table td input[type=number] {
            border: 1px solid #f0f0f0;
            outline: none;
            width: 100%;
            padding: 5px 0;
            text-indent:1em;
            text-align: left;
        }

        .lg-table td input:focus {
            border: 1px solid green;
        }

        .lg-table td select {
            border: 1px solid #f0f0f0;
            padding: 5px 0;
            outline: none;  
        }

            .lg-table td select:focus {
                border: 1px solid green;
            }

            .lg-table td input.reg-error, .lg-table td select.reg-error {
                border: 1px solid #f00;
            }

.lg-table-td-0 {
    width: 0;
}

.lg-table-td-5 {
    width: 5%;
}

.lg-table-td-10 {
    width: 10%;
}

.lg-table-td-15 {
    width: 15%;
}

.lg-table-td-20 {
    width: 20%;
}

.lg-table-td-25 {
    width: 25%;
}

.lg-table-td-30 {
    width: 30%;
}

.lg-table-td-35 {
    width: 35%;
}

.lg-table-td-40 {
    width: 40%;
}

.lg-table-td-50 {
    width: 50%;
}

.lg-table-td-60 {
    width: 60%;
}

.lg-table-td-70 {
    width: 70%;
}

.lg-table-td-80 {
    width: 80%;
}

.lg-table-td-90 {
    width: 90%;
}

.lg-table-btn {
    display: inline;
    cursor: pointer;
}

    .lg-table-btn:hover {
        color: #000;
    }




/*数据列表仿表格*/
.lg-data-table {
}

    .lg-data-table .lg-table-tr:first-child {
        background: #f2f2f2;
    }

    .lg-data-table .lg-table-tr:hover {
        background: #f9f9f9;
    }

    .lg-data-table .lg-table-tr .lg-table-td {
        line-height: 28px;
        font-size: 14px;
        color: #535353;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/*模板*/

/*树形框架*/
.layui-side.layui-bg-black {
    position: static;
}

.lg-tree {
}

    .lg-tree .depth-1 {
    }

        .lg-tree .depth-1 li {
            line-height: 45px;
            position: relative;
        }

            .lg-tree .depth-1 li a {
                color: #fff;
                margin: 0 45px 0 15px;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                display: block;
            }

            .lg-tree .depth-1 li span {
                color: #fff;
                position: absolute;
                top: 0;
                right: 0;
                display: block;
                width: 45px;
                height: 45px;
                line-height: 45px;
                cursor: pointer;
                text-align: center;
            }

    .lg-tree .depth-2 {
        background: #777;
        display: none;
    }

        .lg-tree .depth-2 li {
        }

            .lg-tree .depth-2 li a {
            }

            .lg-tree .depth-2 li span {
            }

    .lg-tree .depth-3 {
        background: #888;
        display: none;
    }

        .lg-tree .depth-3 li {
        }

            .lg-tree .depth-3 li a {
            }

            .lg-tree .depth-3 li span {
            }

    .lg-tree li a.act {
        color: #22f985;
    }

    .lg-tree li a:before {
        display: none;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: #5FB878;
    }

    .lg-tree li > a:hover:before {
        display: block;
    }

    .lg-tree li a:hover {
        color: #22f985;
    }

/*重置*/
.lg-diy-tree .layui-form-switch {
    width: 52px;
}
/*权限树形*/
.lg-diy-tree {
}

.lg-diy-tree-level {
    position: relative;
    display: none;
}

.lg-diy-tree-level-1 {
    background: #fff;
    display: block;
}

.lg-diy-tree-level-2 {
    background: #f9f9f9;
}

.lg-diy-tree-level-3 {
    background: #f5f5f5;
}

.lg-diy-tree-level-4 {
    background: #f2f2f2;
}

.lg-diy-tree-level-5 {
    background: #f0f0f0;
}

.lg-diy-tree-level-6 {
    background: #e9e9e9;
}

.tree-drop-down {
    position: absolute;
    top: 12px;
    left: 10px;
    cursor: pointer;
}

.lg-diy-tree .tree-box {
    padding: 0 0 6px 0;
    border-bottom: 1px solid #eee;
}

    .lg-diy-tree .tree-box:after {
        display: block;
        content: :"";
        clear: :both;
    }

.lg-diy-tree .tree-name {
    display: inline-block;
    float: left;
    width: 80px;
    padding-left: 30px;
    margin: 6px 0 0 10px;
    line-height: 24px;
}


/*图片预览*/


/*积分兑换*/
.PEimg {
    width: 120px;
    height: 90px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #eee;
    margin: 5px 20px 5px 5px;
    overflow: hidden;
}

    .PEimg img {
        height: 100%;
    }

.PEtext {
}

    .PEtext ul {
    }

        .PEtext ul li:after {
            display: block;
            content: "";
            clear: both;
        }

        .PEtext ul li span {
            color: #666;
            float: left;
        }

        .PEtext ul li input {
            width: 30px;
            height: 20px;
            text-align: center;
        }

.payQr img {
    width: 150px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    margin: 15px;
}


/*支付页面*/
.PayPage {
    box-shadow: 0;
}

.WxPay {
    background: url('../images/wxbg.png') top center no-repeat;
}

.AliPay {
    background: url('../images/zfbbg.png') top center no-repeat;
}

.pay_ways {
}

.pay_ways_wx {
}

.pay_ways_ali {
}

.pay_head {
    padding: 20px 15px;
    color: #fff;
}

    .pay_head i {
        font-size: 20px;
        margin-bottom: 10px;
    }

        .pay_head i:before {
            margin: 0 10px 0 0;
        }

    .pay_head p {
        font-size: 14px;
    }

.pay_body {
    margin: 10px;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
}

    .pay_body:before {
        display: block;
        content: '';
        width: 10px;
        height: 20px;
        border-radius: 0 20px 20px 0;
        position: absolute;
        top: 172px;
        left: 0;
    }

    .pay_body:after {
        display: block;
        content: '';
        width: 10px;
        height: 20px;
        border-radius: 20px 0 0 20px;
        position: absolute;
        top: 172px;
        right: 0;
    }

.AliPay .pay_body:before {
    background: #02a5ff
}

.AliPay .pay_body:after {
    background: #02a5ff
}

.WxPay .pay_body:before {
    background: #45c07f
}

.WxPay .pay_body:after {
    background: #45c07f
}

.pay_icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.pay_ways_wx .pay_icon {
    background: url('../images/wx.png') center no-repeat;
    background-size: cover;
}

.pay_ways_ali .pay_icon {
    background: url('../images/zfb.png') center no-repeat;
    background-size: cover;
}

.pay_title {
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
}

.pay_price {
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
}

    .pay_price span {
        font-size: 40px;
    }

.pay-hr {
    width: 100%;
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.payInfo {
}

.PayPage .title {
    font-size: 20px;
    margin-bottom: 10px;
}

.payItem {
    padding: 6px 0;
}

    .payItem:after {
        display: block;
        content: "";
        clear: both;
    }

    .payItem span {
        display: block;
        font-size: 14px;
    }

        .payItem span.tit {
            float: left;
            color: #999;
        }

        .payItem span.txt {
            float: right;
            color: #333;
        }

.pay-btn {
}

.WxPay .pay-btn .layui-btn .layui-btn-fluid {
    background: #45c07f;
}

.AliPay .pay-btn .layui-btn .layui-btn-fluid {
}

/*树形表格*/
.lg-tree-wrap {
}

.lg-tree-tool {
    display: flex;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-bottom: 0;
}

.lg-tree-table {
    width: 100%;
    border: 1px solid #eee;
    border-collapse: collapse;
    font-size: 14px;
}

.lg-tree-head {
    height: 40px;
}

.lg-tree-title {
    padding: 5px 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    font-weight: normal;
}

.lg-tree-body {
}

.lg-tree-item {
    color: #737373;
    transition: all 0.2s;
}

    .lg-tree-item:hover {
        background: #f2f2f2;
    }

.lg-tree-elem {
    padding: 5px 15px;
    border: 1px solid #eee;
}

    .lg-tree-elem .layui-form-switch {
        margin-top: 0;
    }

    .lg-tree-elem .fa-caret-right {
        font-size: 18px;
        margin-right: 10px;
        cursor: pointer;
        transition: all 0.2s;
    }

.lg-tree-item.open .lg-tree-elem .fa-caret-right {
    transform: rotate(90deg);
}

.fa-hide {
    visibility: hidden;
}

.lg-tree-indent {
    display: inline-block;
    visibility: hidden;
}

.depth-1 {
    background: #fff;
}

.depth-2 {
    background: rgba(0 0 0/2%);
}

.depth-3 {
    background: rgba(0 0 0/4%);
}

.depth-4 {
    background: rgba(0 0 0/6%);
}

.depth-5 {
    background: rgba(0 0 0/8%);
}

.depth-1 .lg-tree-indent {
    width: 0;
}

.depth-2 .lg-tree-indent {
    width: 1em
}

.depth-3 .lg-tree-indent {
    width: 2em;
}

.depth-4 .lg-tree-indent {
    width: 3em;
}

.depth-5 .lg-tree-indent {
    width: 4em;
}

/*添加班级*/
.GradeForm {
    padding: 20px;
}

    .GradeForm select {
        height: 38px;
        border: 1px solid #eee;
        min-width: 300px;
        font-size: 14px;
    }

    .GradeForm .layui-form-select dl {
        max-height: 150px;
    }

    .GradeForm .layui-select-title {
        position: relative;
    }

        .GradeForm .layui-select-title .fa {
            position: absolute;
            top: 13px;
            right: 10px;
            color: #ccc
        }

.lg-select-box {
    width: 100%;
    box-sizing: border-box;
    max-height: 150px;
    overflow: auto;
    background: #fff;
    position: absolute;
    top: 36px;
    z-index: 99999;
}

    .lg-select-box dd {
        height: 36px;
        line-height: 36px;
        cursor: pointer;
    }

    .lg-select-box .depth-1 {
        text-indent: 1em;
    }

    .lg-select-box .depth-2 {
        text-indent: 2em;
    }

    .lg-select-box .depth-3 {
        text-indent: 3em;
    }

    .lg-select-box .depth-4 {
        text-indent: 4em;
    }

    .lg-select-box dd:hover {
        background: #5fb878;
        color: #fff;
    }

/*追加表单样式*/

.lg-append-table .lg-btn {
    line-height: 38px;
}

.lg-append-btn span:before {
    margin-right: 10px;
}

.lg-append-table table {
    width: auto;
}

.lg-append-200 {
    width: 200px;
}

lg-append-auto {
    width: auto;
}

.center-align {
    text-align: center;
}


/*自定义表格头部浮动层*/
.fieldWrap {
    position: absolute;
    z-index: 99;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0 0 0/10%);
    padding: 10px 10px 0 10px;
}

.field-head {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.field-body {
    padding: 6px 0;
    height: 242px;
    overflow: auto;
}

.field-foot {
    padding: 10px 0;
    text-align: center;
}

.field-help {
    border-top: 1px solid #eee;
    font-size: 12px;
    padding: 10px 0;
    color: #999;
}

.field-body::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 4px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
}

.field-body::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.field-body::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.1);
}


.fieldWrap .lg-form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.fieldWrap .field-body .lg-form-item {
    padding: 10px 0;
}

.fieldWrap .lg-form-item .lg-form-td {
    min-width: 60px;
    height: 26px;
    color: #999;
}

    .fieldWrap .lg-form-item .lg-form-td.name {
        width: 180px;
    }

    .fieldWrap .lg-form-item .lg-form-td:nth-child(1) {
        width: 180px;
    }

    .fieldWrap .lg-form-item .lg-form-td:nth-child(2) {
        width: 60px;
        text-align: center;
    }

    .fieldWrap .lg-form-item .lg-form-td:nth-child(3) {
        width: 60px;
        text-align: center;
    }

    .fieldWrap .lg-form-item .lg-form-td:nth-child(4) {
        width: 80px;
    }

    .fieldWrap .lg-form-item .lg-form-td:nth-child(5) {
        width: 100px;
    }

.fieldWrap .lg-form-item:hover {
    background: #f9f9f9;
}

.fieldWrap .tools {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.fieldWrap .thwidth {
    display: flex;
}

    .fieldWrap .thwidth span {
        padding: 0 10px;
    }

.fieldWrap input[type=text], .fieldWrap input[type=number] {
    height: 24px;
    padding: 0 0 0 5px;
    border-radius: 3px;
    border: 0;
}

.fieldWrap input.width {
    min-width: 60px;
    width: 100%;
    background: none;
}

.fieldWrap input.name {
    min-width: 100px;
    width: 100%;
    background: none;
}

.fieldWrap input[type=text]:focus, .fieldWrap input[type=number]:focus, .fieldWrap input[type=text]:hover, .fieldWrap input[type=number]:hover {
    border: 1px solid #ccc;
}



.fieldWrap .lg-form-td .layui-form-checkbox[lay-skin=primary] {
    padding-left: 0;
    min-width: 16px;
    min-height: 16px;
}


.fieldWrap .drag {
    width: 30px;
    text-align: center;
    line-height: 1;
    cursor: move;
}

    .fieldWrap .drag i {
        font-size: 20px;
        color: #ccc;
    }

.fieldWrap .limit {
    font-size: 12px;
    color: #999;
}
/*统计*/

.lg-stats-department {
    margin: 15px 0;
}

    .lg-stats-department .gradeTitle {
        background: #00968a;
        line-height: 50px;
        text-align: center;
        color: #fff
    }

    .lg-stats-department .statsTitle {
        background: #f8f8f8;
        line-height: 50px;
        text-align: center;
        color: #595959;
        border: 1px solid #eee;
        border-bottom: none;
        font-size: 14px;
    }

    .lg-stats-department .spaceBox {
        height: 80px;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }

    .lg-stats-department .lg-table th, .lg-stats-department .lg-table td {
        text-align: center;
    }

        .lg-stats-department .lg-table th:first-child {
            width: 350px
        }

.layui-form-switch {
    box-sizing: unset;
}

.box-unset {
    box-sizing: unset;
}


/*考试安排*/
#examSettingWrap {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}
    #examSettingWrap .step {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 14px;
        flex-direction: column;
    }
    #examSettingWrap .step-4 {
        justify-content: left;
    }
        #examSettingWrap .w-100 {
            width: 100%
        }
    #examSettingWrap .bigTitle {
        font-size: 35px;
        color: #e6e6e6;
        height: 120px;
        font-weight: 300;
    }
    #examSettingWrap .exam-set-tips{
        margin-top:40px;
        width:90%;
        padding:15px;
        background:#f9f9f9;
    }
        #examSettingWrap .exam-set-tips p{
            font-size:12px;
            margin:5px
        }
        #examSettingWrap .examSetBox {
            display: flex;
            justify-content: flex-start;
            align-items: stretch;
            width: 100%;
            height: 100%;
        }

    #examSettingWrap .examSetLeft {
        width: 25%;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 25px 0
    }

  #examSettingWrap .examSetLeft .course-list {
            width: 100%;
            height: 35px;
            line-height: 35px;
            margin: 6px 0;
            text-align: center;
            cursor:pointer;
        }
    #examSettingWrap .examSetLeft .course-list:hover {
        background:#e7e6e6
    }
    #examSettingWrap .examSetLeft .course-list.act {
        color: #fff;
        background: #1E9FFF;
    }

    #examSettingWrap .examSetRight {
        width: 75%;
        position: relative;
        overflow: hidden;
    }
        #examSettingWrap .examSetRight .exam-sd{
            padding:15px 15px 10px 15px;
            background:#f9f9f9;
        }
            #examSettingWrap .examSetRight .exam-sd .layui-card{
                margin-bottom:5px;
            }
            #examSettingWrap .examSetRight .exam-sd .examRoom{
                padding:0;
            }
            #examSettingWrap .exam-rule-right {
            }

    #examSettingWrap .examTimeWrap {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: -100%;
        z-index: 2;
        padding: 0 15px;
        background: #fff;
        overflow-y: auto;
        transition: all 0.2s;
    }
        #examSettingWrap .examTimeWrap span.cn{font-size:14px;font-weight:normal}
        #examSettingWrap .examTimeWrap.act {
            right: 0;
        }

    #examSettingWrap .examRoomAdd {
        padding: 0 10px;
        position: relative;
    }

        #examSettingWrap .examRoomAdd span {
            font-size: 15px;
            font-weight: 600;
        }

        #examSettingWrap .examRoomAdd i.fa {
            margin-left: 10px;
        }

    #examSettingWrap .examRoomSlide {
        position: absolute;
        top: 42px;
        right: 0;
        background: #fff;
        box-shadow: 0 3px 6px rgba(0 0 0/18%);
        transition: all 0.2s;
        width:220px;
        padding:10px;  
    }

        #examSettingWrap .examRoomSlide.act {
            right: 0;
        }

    #examSettingWrap .examRoom {
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
    }

        #examSettingWrap .examRoom span {
            border: 1px solid #eee;
            padding: 6px;
            margin: 0 10px 10px 0;
            cursor: pointer;
        }
    #examSettingWrap .step-3 .bt-submit {
        position: absolute;
        width: 100%;
        text-align: right;
        background: #f9f9f9;
        bottom: 0;
        padding: 15px;
    }
    .hover-warm{
        cursor:pointer
    }
        .hover-warm:hover {
            color: #FFB800
        }

        .layui-btn{
            box-sizing:unset
        }

.lg-table .layui-form-switch{
    margin-top:0
}


/*额外配置*/

.popupShadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0/30%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    transition: all 0.5s;
}

.popupShadow.act {
        display: flex;
    }

.popupContainer {
    background: #fff;
    margin: 20px;
    position: relative;
    box-shadow: 0 3px 6px rgba(0 0 0/18%);
}

.popupContainer-center {
}

.popupContainer-right {
    background: #fff;
    position: fixed;
    top: 50px;
    right: -100%;
    height: calc(100% - 50px);
    z-index: 10000;
    width: 400px;
    margin: 0;
    transition: all 0.5s;
}

.popupContainer-right.act {
        right: 0;
    }

.popupTitle {
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2;
}

.popupTitle h3 {
        font-size: 16px;
    }

.popupTitle span.fa {
        font-size: 20px;
        cursor: pointer;
    }

.popupTitle span.fa:hover {
            color: #0095FF;
        }

.popupContent {
    max-width: 600px;
    padding: 15px;
    font-size: 14px;
}
.popupContainer-right {
    overflow: auto;
}

.popupFoot {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popupBtn {
    width: 100px;
    height: 40px;
    margin: 0 10px;
    background: #007DDB;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
}

.popupBtn:hover {
        background: #008ef3;
    }


.relation-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #007DDB;
}

/*ul渲染*/
.lg-form-extra-ul {
    display: flex;
    width: 100%;
}

.lg-form-extra-ul-wrap {
    flex-wrap: wrap;
}

.lg-form-extra-ul li {
    margin-bottom: 15px;
    flex: 1;
    font-size: 14px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: -1px;
}

.lg-form-extra-ul-wrap li {
    flex: unset;
    width: 33.33%;
}

.lg-form-extra-ul li.checked {
    background: #29b4ff;
    border: 1px solid #29b4ff;
    color: #fff;
}

/*开关*/
.lg-form-switch {
    display: inline-block;
    position: relative;
    line-height: 22px;
    min-width: 45px;
    padding: 0 5px;
    margin: 0 5px;
    border: 1px solid #d2d2d2;
    border-radius: 20px;
    cursor: pointer;
    background-color: #fff;
    -webkit-transition: .1s linear;
    transition: .1s linear;
}

    .lg-form-switch i {
        position: absolute;
        left: 5px;
        top: 3px;
        width: 16px;
        height: 16px;
        border-radius: 20px;
        background-color: #d2d2d2;
        -webkit-transition: .1s linear;
        transition: .1s linear
    }

    .lg-form-switch span {
        position: relative;
        top: 0;
        width: 25px;
        margin-left: 21px;
        padding: 0 !important;
        text-align: center !important;
        color: #999 !important;
        font-style: normal !important;
        font-size: 12px
    }

.lg-form-onswitch {
    border-color: #0b98d9;
    background-color: #1E9FFF;
}

    .lg-form-onswitch i {
        left: 100%;
        margin-left: -21px;
        background-color: #fff
    }

    .lg-form-onswitch span {
        margin-left: 5px;
        margin-right: 21px;
        color: #fff !important
    }

/*弹窗行级*/
.lg-popup-inline {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

/*field*/
.lg-popup-title {
    line-height: 40px;
    font-size: 15px;
    font-weight: 600;
}

.lg-field {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 15px;
    padding: 10px;
}

    .lg-field legend {
        margin-bottom: 10px;
        background: #fff;
        padding: 0 5px;
        font-size: 16px;
        font-weight: bold;
    }

    .lg-field .lg-form-item {
        border-bottom: 1px solid #eee;
        border-radius: 0;
        margin-bottom: 5px;
    }

    .lg-field .lg-form-title {
        font-weight: normal;
    }
/*二维码弹窗*/
.codeLoadWrap {
    padding: 25px;
    text-align: center;
    font-size: 14px;
}

    .codeLoadWrap img {
        border: 1px solid #f0f0f0;
        line-height: 50px
    }